﻿namespace MonkeyShop.Web.Models
{
    public class DesktopModel
    {
        public int CpuId { get; set; }
        public int MainboardId { get; set; }
        public int RamId { get; set; }
        public int HddId { get; set; }
        public int Hdd2Id { get; set; }
        public int MonitorId { get; set; }
        public int VgaId { get; set; }
        public int CdId { get; set; }
        public int PowerId { get; set; }
        public int CaseId { get; set; }
        public int KeyboardId { get; set; }
        public int MouseId { get; set; }
        public int[] ProductIds {
            get
            {
                return new[]
                       {
                           CpuId, MainboardId, RamId, HddId, Hdd2Id, MonitorId, VgaId, CdId, PowerId, CaseId, KeyboardId,
                           MouseId
                       };
            }
        }
    }

    public class DesktopModel2
    {
        public int CpuId { get; set; }
        public int MainboardId { get; set; }
        public int RamId { get; set; }
        public int HddId { get; set; }
        public int Hdd2Id { get; set; }
        public int MonitorId { get; set; }
        public int VgaId { get; set; }
        public int CdId { get; set; }
        public int PowerId { get; set; }
        public int CaseId { get; set; }
        public int KeyboardId { get; set; }
        public int MouseId { get; set; }
    }
}
